import request from "@/utils/request";

export const loginApi = (form) => {
  return request({
    url: '/login',
    method: 'POST',
    data: form
  })
}
export const registerApi = (form) => {
  return request({
    url: '/register',
    method: 'POST',
    data: form
  })
}